package org.example.font.service;


import org.example.font.model.Dept;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface DeptService {
    Dept queryDeptByName(String name);

    List<Dept> getDepts();

    void addDept(Dept dept);

    Dept queryDeptById(Integer id);

    void updateDept(Dept dept);

    void deleteDeptById(Integer id);
}
